package cn.gson.springboot.model.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

@Mapper
public interface InventoryYkMapper {
	//查询所有
	public JSONArray findkucun(@Param("drug_name")String drug_name);
	
	//库存新增
	public JSONArray findxinzeng(@Param("inventory_yk_id")Integer inventory_yk_id,@Param("aa")Integer aa);

	//库存减少
	public JSONArray findjianshao(@Param("inventory_yk_id")Integer inventory_yk_id,@Param("bb")Integer bb);

	//采购入库库存新增
	public JSONArray kucunxinzeng(Integer drugId);

}
